# all arithmetic operands tested om small integers

j = 0

a = 1
b = 2
c = 3
d = 4
e = 5
f = 6
g = 7
h = 8

print
while (j < 10000000):
    j = j+1
    a = a+b %32 
    b = c-b %32
    c = a*b % 32
    d = h / d % 32 + 1
    e = h % e % 32  + 1
    f = 0-f % 32
    g = g >> b % 32
    h = d << a % 32

print j
print a
print b
print c
print d
print e
print f
print g
print h
print

